You are here: Technical Analytics > Charts > Chart Types and Tools > Chart Arithmetic

Chart Arithmetic

You can add or subtract the bid/ask average prices for two or more contracts, and chart the sum as a single value.

chartArithmetic892.gif

 

To chart combined contracts

  1. Select an underlying and use the right-click menu to select Charts then New Chart.
  2. Select the Combined Contracts radio button at the top of the New Chart window.

    Note:  If the Combined Contracts selection at the top of the parameters window is not available, you will need to disable the last checkbox on the page, Bypass this dialog when opening a new chart which is enabled by default. Disable this feature and click OK, then create your new chart. The Combined Contracts feature will now be available.

  3. In the contracts table, define multiple contracts.
  4. To subtract a value, use the Ratio field to enter a minus sign in front of the ratio, or check Show difference at the top of the window.
  5. If desired, enter an offset amount.
  6. Choose the Time Period.
  7. Click OK.

A combined chart looks like this:

combinedchart912.gif

 

Autofit Combined Charts

The chart arithmetic feature includes the ability to mathematically calculate the ratios for one or more contracts to approximate as closely as possible the chart for a single contract or index. You can elect to show both the primary and the autofitted charts, or just see the difference by checking Show Difference. The ratios and offsets for the autofits are calculated using the algorithm for fitting least squares regression problems under non-negativity constraints. Details are described by Lawson & Hanson in "Solving Least Squares Problems."

To use the Autofit Chart feature

  1. Check the Autofit checkbox at the top of the window.Use the Show difference checkbox to see a single autofitted chart equal to the difference between the primary chart and the autofit.
  2. In the contracts table, define multiple contracts. The first instrument you list will be the primary, and those that follow will be autofitted to the primary.

You must either check the Autofit box before you list the instruments you want to chart, or select all underlyings you want to include in the autofit before you check the box.

A chart using just Autofit looks like this:

autofit912.gif

 

A chart using both Autofit and Show difference looks like this:

chartsAutofitDifference892.gif